9.22 Perform encryption and decryption using the knapsack algorithm for the following:
a. a" = (1, 3, 5, 10); w = 7; m = 20; x = 1101
b. a" = (1, 3, 5, 11, 23, 46, 136, 263));w = 203; m = 491; x = 11101000
c. a" = (2, 3, 6, 12, 25); w = 46; m = 53; x = 11101
d. a" = (15, 92, 108, 279, 563, 1172, 2243, 4468);w = 2393; m = 9291; x = 10110001
 
 
View Solution
 
 
 
<< Back Next >>